#ifndef __CMD_MYSQL_H__
#define __CMD_MYSQL_H__
#include<func.h>
#include"cmdStack.h"
typedef struct mysql_info_s
{
    char host[32];          /*localhost*/
    char user[32];          /*root*/
    char passwad[32];       /*123456*/
    char databases[32];     /*netdisk*/
    char sql_commd[4096];   //传入的语句
    char sql_result[4096];  //传出的语句
}mysql_info_t;

//读表
int read_mysql(mysql_info_t *mysql_info);
//压zs
int init_Usertask(mysql_info_t *mysql_info,taskStack_t *taskStack,char*UserName); 
int cd_mysql(mysql_info_t *mysql_info,char*UserName,taskStack_t *taskStack,char*client_path);
//pwd
int pwd_mysql(mysql_info_t *mysql_info,taskStack_t *taskStack,char*UserName);
//ls
int ls_mysql(mysql_info_t *mysql_info,taskStack_t *taskStack,char*UserName);
#endif